Lab 8 – Troubleshooting
Linux and Apache Systems
Materials Needed:
- Computer
- Internet
connection
- Root access
to Linux account
Assignment:
- Review the Linux/Unix log
files.
- /var/run/utmp -
tracks who is logged into the system
- /var/log/wtmp -
tracks who has logged in and out of the system
- /var/log/btmp -
tracks failed logon attempts
- /var/log/messages -
keeps messages from the syslog facility
- can only be viewed by root
- /var/log/secure -
tracks access and authentication information
- can only be viewed
by root
- /var/log/maillog –
keeps messages from the mail facility
- can only be viewed
by root
- lastlog –
formats and prints
the contents of
the last login
log /var/log/lastlog
file . The login-name, port, and last login time will be
printed.
- Review the Apache (httpd)
log files
- /etc/httpd/conf
contains the configuration file httpd.conf for Apache
- /etc/httpd/logs
contains the log files for Apache:
- access_log
- error_log
- ssl_access_log
- ssl_error_log
- ssl_request_log